package edu.sctu.wangxiaoqiang.day20150505;


/**
 * Created by user25 on 2015/5/5.
 */
public class DogExtend extends DogAbstract {
    private DogInterface doginterface;

//  public DogInterface doginterface ;
//
//   public DogExtend( DogInterface doginterface){
//        this.doginterface = doginterface;
// }

    @Override
    public  void dogColor(){
        color = "blue";
    }
    @Override
    public  void dogSize(){
        size = 21.1;
    }
    @Override
    public  void dogAction(){
        action = "run";
    }

    public  void abcd(DogInterface doginterface) {
        doginterface.getInfo(color, size,  action);
    }
}
